package org.pcorp.battlespace.construction.ui.tools;

import java.awt.Component;

import javax.swing.JScrollPane;

public class PScrollPane extends JScrollPane {
	private static final long serialVersionUID = -8509025830227515529L;

	public PScrollPane(Component view) {
		super(view);
		getViewport().setBackground(ConstanteUI.BACKGROUND_COLOR);
	}

	public PScrollPane(int verticalScrollbarAsNeeded, int horizontalScrollbarNever) {
		super(verticalScrollbarAsNeeded, horizontalScrollbarNever);
		getViewport().setBackground(ConstanteUI.BACKGROUND_COLOR);
	}
}
